﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Salary.Sys.Core.Threads
{
    [AttributeUsage(AttributeTargets.Class,AllowMultiple = false, Inherited = false)]
    public class ThreadInfoAttribute: Attribute
    {
        public Guid Identity { get; }
        public string Alisa { get; }
        public ThreadVersion Version { get; }

        public ThreadInfoAttribute(Guid identity, string alisa, ThreadVersion version)
        {
            Identity = identity;
            Alisa = alisa;
            Version = (ThreadVersion)version;
        }
    }
}
